{% extends "base.html" %}

{% load critic %}

{% block title %}Nettoyage de {% if uv %}{{uv.code}}
{% else %}... Ah ben rien{% endif %}{% endblock %}

{% block content %}

{% if uv %}
<form action="/cleanup/{{uv.code}}/" method="POST">
  <table cellspacing="0">
  {{form.as_table}}
  </table>
  <input type="submit" value="Nettoyé!" />
</form>
{% else %}
<p>Plus rien à nettoyer! :-)</p>
{% endif %}

{% endblock %}
